<?php namespace Common\Model;
use Hdphp\Model\Model;
/**
 * 图片主题模型
 */
class Theme extends Model{
		//标签表
		protected $table = 'theme';
		//自动验证(前提：表字段必须和表单一致)
		protected $validate = array(
				array('theme','required','图片主题必须填写哦^_^',3,3),
				array('animation','required','主题样式动画属性必须填写哦^_^',3,3),
				array('tsort','required','排序必须填写哦^_^',3,3),
				array('tsort','num:0,65535','排序必须为数字哦^_^',3,3)
		);
		
}